#include "Pos_TCord_Layout.h"
#include <gl\glew.h>


void Pos_TCord_Layout::Bind()
{
	glVertexAttribPointer(0,3,GL_FLOAT,GL_FALSE,20,(void*)0);
	glVertexAttribPointer(1,2,GL_FLOAT,GL_FALSE,20,(void*)12);

	glEnableVertexAttribArray(0);
	glEnableVertexAttribArray(1);
}
void Pos_TCord_Layout::Unbind()
{
	glDisableVertexAttribArray(0);
	glDisableVertexAttribArray(1);
}
